]> dgit.raspbian.org Git - gnome-shell.git/commit
overview: Avoid entering in overview mode during display grab op
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 26 Apr 2022 11:09:01 +0000 (13:09 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 26 Apr 2022 11:32:31 +0000 (13:32 +0200)
commit378406e1f051d355341ccfcc66d10a09bb220851
tree7f7316124daca467f2b810140126aca1abda1279
parentf4e03aa440ac7919f1caad910b7aa52cf6da8801
overview: Avoid entering in overview mode during display grab op

ClutterGrab and display grab operations are pretty much mutually
exclusive, but there's no mechanism to ensure a ClutterGrab does
not step on top of an existing grab operation.

This looks the only place that could trigger that (e.g. start
dragging window, then move pointer to top/left corner), so skip
over the situation here explicitly.

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5397
Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5181
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2281>
js/ui/overview.js